/**
 * 全局配置vuex
 */
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import actions from './actions'
import user from './modules/user'

Vue.use(Vuex)

const store = new Vuex.Store({
  getters,
  actions,
  modules: {
    user
  }
})

export default store
